/*
 * Globals
 */

 body {
  font-family: Arial, Times, serif;
  color: #555;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}


/*
* Override Bootstrap's default container.
*/

@media (min-width: 1200px) {
  .container {
  width: 970px;
  }
}


/*
* Masthead for nav
*/

.blog-masthead {
  background-color: #428bca;
  margin-bottom: 20px;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 18px;
  color: #cdddeb;
  line-height: 30px;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
* Blog name and description
*/

.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}


/*
* Main column and sidebar layout
*/

.blog-main {
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
* Blog posts
*/
.post {
  margin-bottom: 40px;
}

.post-title {
  border: 1px solid #EEEEEE;
  border-width: 1px 0;
  padding: 5px 0;
}

.post-abstract {
  margin-bottom: 10px;
}

.post-meta {
  font-size: 0.75em;
}

.post-meta > span {
  display: inline-block;
  padding-right: 10px;
  margin: 0 5px;
  border-right: 1px dotted #DDDDDD;
}

.post-meta > span:first-of-type {
  margin-left: 0;
}

.post-meta > span:last-of-type {
  margin-right: 0;
  border-right: 0;
}

.post-view-header {
  text-align: center;
}

.post-view .post-meta {
  border-bottom: 1px dotted #DDDDDD;
  padding-bottom: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.post-view .post-content {
  text-indent: 2em;
  text-align: justify;
}

.post-comments,
.post-comment-form {
  margin-top: 30px;
}

.post-comment-item {
  border: 1px dotted #DDDDDD;
  padding: 10px;
  margin-bottom: 10px;
}

.post-comment-email {
  border-bottom: 1px dotted #DDDDDD;
}

/*
* Footer
*/

.blog-footer {
  margin-top: 20px;
  padding: 20px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}

#messages .error {
  margin: 0;
  padding: 0;
}

#messages .error li {
  list-style: none;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.post-padding{
  padding-right: 20px;
}
